from django.urls import path


from . import views
from . import api_view
from . import menu_view
app_name = "app"
urlpatterns = [
    path('register', views.api_register, name='register'),
    path("login", views.api_login, name="login"),
    path("logout", views.api_logout, name="logout"),
    path('test', views.api_test, name='test'),  # ← 新增测试接口
    path('apilogin', api_view.api_login, name='apilogin'),
    path('apitest', api_view.api_test, name='apitest'),
    path('apiregister', api_view.api_register, name='apiregister'),
    path('header_menu', menu_view.header_menu, name='header_menu'),
]
